package com.gopay.remote.bank.businesses;

import com.gopay.common.domain.bank.BaseMessage;
import com.gopay.common.exception.GopayException;

/**
 * 网联-公用接口
 * Created by zhoutong on 2018/1/15.
 */
public interface NuccCommonService {

    /**
     * 退款
     *
     * @param baseMsg
     * @return Object
     * @throws GopayException
     */
     Object refund(BaseMessage baseMsg) throws GopayException;

    /**
     * 交易状态查询
     *
     * @param baseMsg
     * @return Object
     * @throws GopayException
     */
    Object queryTransStatus(BaseMessage baseMsg) throws GopayException;

    /**
     * 流水号申请接口
     * @return
     * @throws GopayException
     * @author zhoutong
     */
    void serialApply(BaseMessage baseMsg) throws GopayException;
    
    /**
     * 对账文件下载
     * @param baseMsg
     * @return
     * @throws GopayException
     */
    Object downCheckFiles(BaseMessage baseMsg) throws GopayException;

}
